﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WOWORComparison.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.WModel.WOWORComparison" %>

<form id="pagerForm" method="post" action="WModel/WOWORComparison.aspx">
<input type="hidden" name="docentry1" value="<%=docentry1 %>" />
<input type="hidden" name="docentry2" value="<%=docentry2 %>" />
</form>
<form id="form1" runat="server" method="post" action="WModel/WOWORComparison.aspx" onsubmit="return navTabSearch(this);">
<div class="pageHeader">
   <div class="searchBar">
       <table class="searchContent">
            <tr>
                <td>
                   原生产订单：
                </td>
                <td>
                    <input type="text" name="docentry1"  value="<%=docentry1 %>"/>
                </td>
                <td>
                   对比生产订单：
                </td>
                <td>
                    <input type="text" name="docentry2" value="<%=docentry2 %>"  />
                </td>
                <td >
                    <div class="subBar">
                        <ul>
                            <li>
                                <div class="buttonActive"><div class="buttonContent"><button type="submit">对比</button></div></div>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</div>
<div class="pageContent">
    
    <h2 style=" line-height:25px; height:25px;">生产订单信息</h2>
   <asp:repeater id="rpOWOR" runat="server">
        <HeaderTemplate>
        <table class="list" width="100%" >
        <thead>
            <tr  >
                <th>订单号</th>
                <th>机型</th>              
                <th>订单日期</th>              
                <th>到期日</th>
                <th>已计划数量</th>
                <th>机号范围</th>                
                                            
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>                 
				<td>
                    <%# Eval("DocNum")%>
                </td>
				<td>
                     <%# Eval("ItemCode")%>
                </td>               
				<td><%# Eval("PostDate")%></td>
				<td><%# Eval("DueDate")%></td>
                <td><%# Eval("PlannedQty")%></td>
                <td><%# Eval("U_JH")%></td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>

    <h2 style=" line-height:25px; height:25px;">生产订单对比结果明细</h2>
    <asp:repeater id="rpComparisonResult" runat="server">
        <HeaderTemplate>
        <table class="table" width="100%" layouth="190" >
        <thead>
            <tr  >
                <th>#</th>
                <th>物料号</th>              
                <th>名称</th>              
                <th>供应商</th>
                <th>名称</th>
                <th>单台总用量</th>                
                <th>单位</th>
                <th>对比结果</th>                                        
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>                 
				<td>
                    <%# Eval("ID")%>
                </td>
				<td>
                     <%# Eval("ItemCode")%>
                </td>               
				<td><%# Eval("ItemName")%></td>
				<td><%# Eval("CardCode")%></td>
                <td><%# Eval("AliasName")%></td>
                <td><%# Eval("SingQty")%></td>
                <td><%# Eval("InvntryNum")%></td>
                <td><%# Eval("ResultRemark")%></td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
</div>
</form>
